package com.hy.admin.helper.request;

import com.hy.admin.enums.EnumPayModel;

/**
 * Created by wayne on 18/4/22.
 */
public class TradeRequest {

    private String memberId;
    //订单标题
    private String subject;

    //订单信息
    private String body;
    //业务订单号
    private String outOrderNo;
    private Long outOrderId;
    private Integer outOrderType;
    //交易金额
    private String payAmount;
    //退款金额
    private String refundAmount;
    //附加数据
    private String attach;
    //设备号
    private String device_info;
    /**
     * 前端回调地址（业务平台地址）
     */
    private String return_url;

    //支付中心订单号
    private String orderNo;
    /**
     * 后端回调地址(业务平台地址)
     */
    private String notify_url;

    private String authCode;

    private String openid;

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    /**
     * 支付模式
     */
    private int payMode= EnumPayModel.WECHAT_MICROPAY.getId();

    private String requestIp;


    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getOutOrderNo() {
        return outOrderNo;
    }

    public void setOutOrderNo(String outOrderNo) {
        this.outOrderNo = outOrderNo;
    }

    public String getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(String payAmount) {
        this.payAmount = payAmount;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getDevice_info() {
        return device_info;
    }

    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    public String getReturn_url() {
        return return_url;
    }

    public void setReturn_url(String return_url) {
        this.return_url = return_url;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public int getPayMode() {
        return payMode;
    }

    public void setPayMode(int payMode) {
        this.payMode = payMode;
    }

    public String getRequestIp() {
        return requestIp;
    }

    public void setRequestIp(String requestIp) {
        this.requestIp = requestIp;
    }

    public Long getOutOrderId() {
        return outOrderId;
    }

    public void setOutOrderId(Long outOrderId) {
        this.outOrderId = outOrderId;
    }

    public Integer getOutOrderType() {
        return outOrderType;
    }

    public void setOutOrderType(Integer outOrderType) {
        this.outOrderType = outOrderType;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
}
